package net.ericaro.neojavagen.interfaces;

/**
 * <b>ElementValueArrayInitializer</b> ::= "{" <{@link net .ericaro .neojavagen .interfaces .ElementValues ElementValues}>? ","? "}"
 * 
 * @author eric@ericaro.net
 */
public class ElementValueArrayInitializer extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.interfaces.ElementValue {
	private boolean Comma;

	private net.ericaro.neojavagen.interfaces.ElementValues elementValues;

	public ElementValueArrayInitializer() {
		this.elementValues = null;
		this.Comma = false;
	}

	public ElementValueArrayInitializer(net.ericaro.neojavagen.interfaces.ElementValues elementValues, boolean Comma) {
		super();
		this.elementValues = elementValues;
		this.Comma = Comma;
	}

	public boolean getComma() {
		return Comma;
	}

	public net.ericaro.neojavagen.interfaces.ElementValues getElementValues() {
		return elementValues;
	}

	public void setComma(boolean Comma) {
		this.Comma = Comma;
	}

	public void setElementValues(net.ericaro.neojavagen.interfaces.ElementValues elementValues) {
		this.elementValues = elementValues;
	}

	@Override
	public java.lang.String toString() {
		return print("{", elementValues, Comma ? "," : null, "}");
	}
}
